package com.example.e_comm.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.e_comm.entity.User;

public interface UserService extends IService<User> {
boolean register(User user);
String login(String username,String password);

User getUserByToken(String token);
boolean logout(String token);

    boolean validateToken(String token);


}